<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<script src="Drag.js">
	
</script>
<script src="LimmitDrag.js"></script>
<style>
	#div1 {width: 200px; height: 200px; background: yellow; position: absolute;}	
	#div2 {width: 200px; height: 200px; background: green; position: absolute;}	
</style>
<script>
	
window.onload = function()
{

		new Drag('div1');
		new LimmitDrag('div2');
};
	


</script>
</head>

<body>
<div id="div1"></div>
<div id="div2"></div>
</body>
</html>
